package com.dev.bbs.consts;

public enum ArticleCate
{
    ASK(1, "提问"),
    DISCUSS(3, "提问"),
    SUGGEST(4, "提问"),
    SHARE(99, "分享");
    private Integer code;

    private String  desc;

    /**
     * @param code
     * @param desc
     * @author 张孟如
     */
    private ArticleCate(Integer code, String desc)
    {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode()
    {
        return code;
    }

    public void setCode(Integer code)
    {
        this.code = code;
    }

    public String getDesc()
    {
        return desc;
    }

    public void setDesc(String desc)
    {
        this.desc = desc;
    }
}
